Optimal. Leaf size=37 \[ \frac{2 \text{Ei}(2 \log (c x))}{c^2}-\frac{x^2}{2 \log ^2(c x)}-\frac{x^2}{\log (c x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0314825, antiderivative size = 37, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.375, Rules used = {2306, 2309, 2178} \[ \frac{2 \text{Ei}(2 \log (c x))}{c^2}-\frac{x^2}{2 \log ^2(c x)}-\frac{x^2}{\log (c x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2306
Rule 2309
Rule 2178
Rubi steps
\begin{align*} \int \frac{x}{\log ^3(c x)} \, dx &=-\frac{x^2}{2 \log ^2(c x)}+\int \frac{x}{\log ^2(c x)} \, dx\\ &=-\frac{x^2}{2 \log ^2(c x)}-\frac{x^2}{\log (c x)}+2 \int \frac{x}{\log (c x)} \, dx\\ &=-\frac{x^2}{2 \log ^2(c x)}-\frac{x^2}{\log (c x)}+\frac{2 \operatorname{Subst}\left (\int \frac{e^{2 x}}{x} \, dx,x,\log (c x)\right )}{c^2}\\ &=\frac{2 \text{Ei}(2 \log (c x))}{c^2}-\frac{x^2}{2 \log ^2(c x)}-\frac{x^2}{\log (c x)}\\ \end{align*}
Mathematica [A] time = 0.0049546, size = 37, normalized size = 1. \[ \frac{2 \text{Ei}(2 \log (c x))}{c^2}-\frac{x^2}{2 \log ^2(c x)}-\frac{x^2}{\log (c x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.045, size = 37, normalized size = 1. \begin{align*} -{\frac{{x}^{2}}{2\, \left ( \ln \left ( cx \right ) \right ) ^{2}}}-{\frac{{x}^{2}}{\ln \left ( cx \right ) }}-2\,{\frac{{\it Ei} \left ( 1,-2\,\ln \left ( cx \right ) \right ) }{{c}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.15327, size = 18, normalized size = 0.49 \begin{align*} -\frac{4 \, \Gamma \left (-2, -2 \, \log \left (c x\right )\right )}{c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.852558, size = 123, normalized size = 3.32 \begin{align*} -\frac{2 \, c^{2} x^{2} \log \left (c x\right ) + c^{2} x^{2} - 4 \, \log \left (c x\right )^{2} \logintegral \left (c^{2} x^{2}\right )}{2 \, c^{2} \log \left (c x\right )^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{- 2 x^{2} \log{\left (c x \right )} - x^{2}}{2 \log{\left (c x \right )}^{2}} + 2 \int \frac{x}{\log{\left (c x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.13404, size = 47, normalized size = 1.27 \begin{align*} -\frac{x^{2}}{\log \left (c x\right )} - \frac{x^{2}}{2 \, \log \left (c x\right )^{2}} + \frac{2 \,{\rm Ei}\left (2 \, \log \left (c x\right )\right )}{c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]